﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace AddIn.EA.Architecture.CatalogService.BusinessEntity
{
    [XmlRoot("doc")]
    [XmlInclude(typeof(MemberField))]
    [XmlInclude(typeof(MemberMethod))]
    [XmlInclude(typeof(MemberNamespace))]
    [XmlInclude(typeof(MemberProperty))]
    [XmlInclude(typeof(MemberType))]
    public class Doc
    {
        [XmlElement("assembly")]
        public Assembly Assembly { get; set; }

        [XmlArray("members")]
        [XmlArrayItem("member")]
        public List<MemberBase> Members { get; set; }
    }
}
